import axios from '@/api/fetch';
import SERVER from '@/api/server';
// 服务顾问 - 下拉框
export const getUserListSelect = params => axios.get(`/api/sysManage/basedata/users/getUserListByRole?role=10071011`, { params });

// 查询所有员工
export const getAllUser = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getDealerUser`);

// 进厂车辆日报
export const getStockAalarmReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/partreport/querystockalarm`, { params });

// 仓库下拉框
export const Storage = params => axios.get(`${SERVER.DMSCLOUD_PART}/basedata/BasicParametersAfterSales/findAllStroageCode`, { params });

// 备件月报
export const queryPartMonthReport = params => axios.get(`${SERVER.SEARCH_DMSCLOUD_REPORT}/partreport/queryPartMonthReport`, { params });

// 备件进销存汇总
export const queryPartPeriodSumReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/partreport/queryPartPeriodSumReport`, { params });

// 备件进销存明细
export const queryPartPeriodDetailReport = params => axios.get(`${SERVER.DMSCLOUD_REPORT}/partreport/queryPartPeriodDetailReport`, { params });

// 备件库存明细查询
export const queryPartStockDetailReport = params => axios.get(`${SERVER.SEARCH_DMSCLOUD_REPORT}/partreport/queryPartStockDetailReport`, { params });

// 配件价格查询
export const queryPartPriceReport = params => axios.get(`${SERVER.SEARCH_DMSCLOUD_REPORT}/partreport/queryPartPriceReport`, { params });

// FIB配件信息查询
export const queryPartFibInfoReport = params => axios.get(`${SERVER.SEARCH_DMSCLOUD_REPORT}/partreport/queryPartFibInfoReport`, { params });
